from aip import AipFace
import base64
import cv2
import os
import time


""" 你的 APPID AK SK """
APP_ID = '22912073'
API_KEY = '3zbPMNiqWOrsD5BspgX1pBoR'
SECRET_KEY = 'nxSoiCZnSdOV9DVTPhHrlMvAYvTHZNa4'

# aip_face对象
aipFace = AipFace(APP_ID, API_KEY, SECRET_KEY)

groupId = "main"
# userId = "user1"

result = aipFace.getGroupUsers(groupId)
result = result['result']
user_id_list = result['user_id_list']
for user_id in user_id_list:
    print(user_id)
